package com.lwc.controller;

import com.lwc.bean.OrderDetail;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class GoodsController {

@PutMapping("/up")
    public  String update(@RequestBody List<OrderDetail>orderDetails){

    System.out.println("订单详细信息"+orderDetails);

    return  "ok";
    }
}
